package com.wyt.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: xiangmu01
 * @description: 三表联查
 * @author: 王一同
 * @create: 2021-11-23 20:06
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor

public class EmpAndDeptAndRol {
    private Integer eNumber;

    private String eName;

    private Integer ePassword;

    private String eSex;

    private Integer eAge;

    private String eTel;

    private String eSid;

    private String eAddress;

    private Integer eStatus;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date eIndate;

    private Integer dId;

    private Department dept;

    private Integer eRole;

    private Role role;

    private String eUrl;


}
